Loading...
 

System files

System files

Directory: is localised via environment variable CX_SYSTEM, default: CX_ROOTDIR\system\customer; %CX_ROOTDIR%\system

The following system files are required by ClassiX®:

System file Description
CLASSIX.INI Initialisation file
CLASSIX.NUM Transformation tables for enumerations and combo boxes
CLASSIX.ODB Database structure (MetaInfo information)
LOCALES.TXT Locales Information (customer specific, in its subdirectory). Configurable with CX_LOCALE_FILENAME
LOGGING.INI Configuration for logging system

Log files are written into the CX_SYSTEM directory, both from the installation program (INSTALL.LOG) and from the ClassiX® system (CLASSIX.LOG).

The System directory (or its subdirectories) contains

  • general initialisation file (CLASSIX.INI) including all files inserted with #include (CLASSIX.DIC, CLASSIX.ODB ...)
  • Details of customer-specific local information (LOCALES.TXT) (in the customer subdirectory)
  • the last InstantView® commands entered in the monitor window (IVCommandsPC.ini)
  • usually the log file written by the ClassiX® system (CX_PC.log)
  • the log file of the supervisor cxrosr.exe (CXAbend.log)

where PC stands for the current computer name.

Further information on the auxiliary files of the ClassiX® system can be found here.

The path to the system directory is determined by the environment variables CX_SYSTEM, CX_SYSTEM_OUT and CX_ROOTDIR.

Read access to a file:

  • CX_SYSTEM=partPath1, partPath2, ..., partPathn is set:

    The partial paths are searched in the specified order for the file to be read. If the file is not found, the CX_ROOTDIR\system is then searched.


  • CX_SYSTEM is not set:

    The file is searched in the CX_ROOTDIR\system directory.


  • CX_ROOTDIR and CX_SYSTEM not set:

    The directory x:\ClassiX\system is searched, where x stands for the drive of the current directory (working directory).

Write access to a file:

  • CX_SYSTEM_OUT=path set:

    The file is written to the specified directory.


  • CX_SYSTEM_OUT not set, but CX_SYSTEM=partPath1, partPath2, ..., partPathn is specified:

    If a file with the same name exists in one of the paths, it will be overwritten by the output file. Otherwise, CX_ROOTDIR\system is written to, regardless of whether a file with the same name already exists or not.


  • CX_SYSTEM_OUT and CX_SYSTEM are not set:

    The output file is written to CX_ROOTDIR\system


  • CX_ROOTDIR and CX_SYSTEM not set:

    The output file is written to the x:\ClassiX\system directory, where x is the drive of the current directory (working directory).

Explicitly specified (complete) paths for a file have priority, i.e. the file is only read/written according to this specification; the rules specified above do not apply.